<%--
  Created by IntelliJ IDEA.
  User: yangyan
  Date: 2015/6/29
  Time: 11:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>授权登录</title>
</head>
<body>
<form action="/oauth/authorize" method="post" enctype="application/x-www-form-urlencoded">
    UserName:<input type="text" name="username"/> <br/>
    Password:<input type="password" name="password"/> <br/>
    <input type="hidden" name="client_id" value="${client_id}"/>
    <input type="hidden" name="redirect_uri" value="${redirect_url}"/>
    <input type="hidden" name="response_type" value="${response_type}"/>
    <input type="submit" value="登录"/>
</form>
</body>
</html>
